//
//  ContractAddNew.h
//  Opper
//
//  Created by Le Dung on 4/14/13.
//  Copyright (c) 2013 LeDung. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ControlImport.h"
#import "ListCollection.h"
#import "AlertControl.h"
@interface ContractAddNew : UIViewController <UITextFieldDelegate,listCollectionDelegate>

@property (retain, nonatomic) IBOutlet UIView *containView;
@property (retain, nonatomic) IBOutlet UIButton *categoryList;
@property (retain, nonatomic) IBOutlet UIButton *providerList;
@property (retain, nonatomic) IBOutlet UIButton *productList;
@property (retain, nonatomic) IBOutlet UITextField *productNumber;
@property (retain, nonatomic) IBOutlet UIButton *startDate;
@property (retain, nonatomic) IBOutlet UIButton *endDate;
@property (retain, nonatomic) IBOutlet UISwitch *terminalSwitch;
@property (retain, nonatomic) IBOutlet UIButton *acceptButton;
@property (retain, nonatomic) IBOutlet UIButton *cancelButton;

@property(nonatomic,retain) UIDatePicker *starDateP;
@property(nonatomic) NSInteger isStartDate;



@property(nonatomic,retain) NSString *isSetAlert;
@property(nonatomic) NSInteger isMove;
@property(nonatomic,retain) NSMutableArray *categoryArray;
@property(nonatomic,retain) NSMutableArray *productArray;
@property(nonatomic,retain) NSMutableArray *providerArray;
@property(nonatomic,retain) NSString *idCategory;
@property(nonatomic,retain) NSString  *idProvider;
@property(nonatomic,retain) NSString *idProduct;
@property(nonatomic,retain) Member *member;



@property(nonatomic) NSInteger isAddContract;
@property(nonatomic,retain) ContractInfo *contractUnit;








@end
